﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MainAudioCtrl : AudioBase
{

    void Awake()
    {
        Bind(AudioEvent.PLAY_AUDIO);
    }

    public override void Execute(int eventCode, object message)
    {
        switch (eventCode)
        {
            case AudioEvent.PLAY_AUDIO:
                Debug.Log("已经播放音乐 ：" + message.ToString());
                break;
            default:
                break;
        }
    }
}
